package com.fhz.shop.entity;

import androidx.room.Dao;
import androidx.room.Entity;
import androidx.room.PrimaryKey;

/**
 * 时间:2023/9/1
 *
 * @author Mr.Feng
 * 简述: TODO
 */
@Entity
public class SearchBean {

    @PrimaryKey(autoGenerate = true)
    private int id;
    private String name;
    private int del;

    public SearchBean(String name, int del) {
        this.name = name;
        this.del = del;
    }

    public SearchBean() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getDel() {
        return del;
    }

    public void setDel(int del) {
        this.del = del;
    }


    @Override
    public String toString() {
        return "SearchBean{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", del=" + del +
                '}';
    }

}
